package com.ktjy.mapper;

import com.ktjy.pojo.Storagerecord;
import com.ktjy.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface SupplierMapper {
    public int num();
    public List<Supplier>num2();
    public int add(Supplier lier);
    public int update(Supplier supplier);
    public int delete(Long id);

//    第四章上机3
    List<Supplier>num3(@Param("supName")String supName, @Param("supCode")String supCode, @Param("supContact")String supContact, @Param("createdTime")Date createdTime);
    //    第四章上机4
public  List<Supplier>num4(Long [] supplierId);
public List<Supplier> num4List(List<Long>supplierId);
    //    第四章上机6
public int num6Set(Supplier supplier);

public int num7Trim(Supplier supplier);
//第4章上机8
    public List<Supplier> num8Page(@Param("pageBegin")Integer pageBegin, @Param("pageSize")Integer pageSize);
}
